package com.cenluan.photo;

import com.cenluan.common.OssManager;
import com.jfinal.plugin.activerecord.Model;

/**
 * 照片
 * 
 * @author peak
 * 
 */
public class Photo extends Model<Photo> {

	private static final long serialVersionUID = 1L;
	public static final Photo dao = new Photo();

	public String getUrl() {
		return OssManager.getImageUrl(getStr("key"));
	}
}
